#
# Makefile for tasks demo
#
# To compile and test run:
# 	make && make test
#

BINARY=tasks

OBJS=tasks.o hw.o

CFLAGS=-Wall -ansi -I../../ -g

all: $(BINARY)

$(BINARY): $(OBJS)
	gcc $^ -o $@

%.o: %.c
	gcc $(CFLAGS) -c $^


test: $(BINARY)
	./tasks


clean:
	rm -f $(OBJS) $(BINARY)
